
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGSortFirstWindow.h>
#include <OpenSG/OSGSortFirstWindowBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_SortFirstWindow_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_SortFirstWindow()
{
    scope* osg_SortFirstWindowBase_scope = new scope(
    class_< osg::SortFirstWindowBase, bases< osg::ClusterWindow > , boost::noncopyable >("SortFirstWindowBase", no_init)
//        .def_readonly("CompressionFieldMask", &osg::SortFirstWindowBase::CompressionFieldMask)
//        .def_readonly("SubtileSizeFieldMask", &osg::SortFirstWindowBase::SubtileSizeFieldMask)
//        .def_readonly("ComposeFieldMask", &osg::SortFirstWindowBase::ComposeFieldMask)
//        .def_readonly("RegionFieldMask", &osg::SortFirstWindowBase::RegionFieldMask)
//        .def_readonly("UseFaceDistributionFieldMask", &osg::SortFirstWindowBase::UseFaceDistributionFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::SortFirstWindowBase::MTInfluenceMask)
        .def("getClassType", &osg::SortFirstWindowBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::SortFirstWindowBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::SortFirstWindowBase::*)() )&osg::SortFirstWindowBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::SortFirstWindowBase::*)() const)&osg::SortFirstWindowBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::SortFirstWindowBase::getContainerSize)
        //.def("getCompression", (std::string& (osg::SortFirstWindowBase::*)() )&osg::SortFirstWindowBase::getCompression, return_value_policy< copy_const_reference >())
        .def("getCompression", (const std::string& (osg::SortFirstWindowBase::*)() const)&osg::SortFirstWindowBase::getCompression, return_value_policy< copy_const_reference >())
        //.def("getSubtileSize", (osg::UInt32& (osg::SortFirstWindowBase::*)() )&osg::SortFirstWindowBase::getSubtileSize, return_value_policy< copy_const_reference >())
        .def("getSubtileSize", (const osg::UInt32& (osg::SortFirstWindowBase::*)() const)&osg::SortFirstWindowBase::getSubtileSize, return_value_policy< copy_const_reference >())
        //.def("getCompose", (bool& (osg::SortFirstWindowBase::*)() )&osg::SortFirstWindowBase::getCompose, return_value_policy< copy_const_reference >())
        .def("getCompose", (const bool& (osg::SortFirstWindowBase::*)() const)&osg::SortFirstWindowBase::getCompose, return_value_policy< copy_const_reference >())
        //.def("getUseFaceDistribution", (bool& (osg::SortFirstWindowBase::*)() )&osg::SortFirstWindowBase::getUseFaceDistribution, return_value_policy< copy_const_reference >())
        .def("getUseFaceDistribution", (const bool& (osg::SortFirstWindowBase::*)() const)&osg::SortFirstWindowBase::getUseFaceDistribution, return_value_policy< copy_const_reference >())
        .def("getRegion", (osg::UInt32& (osg::SortFirstWindowBase::*)(const osg::UInt32) )&osg::SortFirstWindowBase::getRegion, return_value_policy< copy_non_const_reference >())
        //.def("getRegion", (osg::MFUInt32& (osg::SortFirstWindowBase::*)() )&osg::SortFirstWindowBase::getRegion, return_value_policy< copy_const_reference >())
        .def("getRegion", (const osg::MFUInt32& (osg::SortFirstWindowBase::*)() const)&osg::SortFirstWindowBase::getRegion, return_value_policy< copy_const_reference >())
        .def("setCompression", &osg::SortFirstWindowBase::setCompression)
        .def("setSubtileSize", &osg::SortFirstWindowBase::setSubtileSize)
        .def("setCompose", &osg::SortFirstWindowBase::setCompose)
        .def("setUseFaceDistribution", &osg::SortFirstWindowBase::setUseFaceDistribution)
        .def("getBinSize", &osg::SortFirstWindowBase::getBinSize)
        .def("copyToBin", &osg::SortFirstWindowBase::copyToBin)
        .def("copyFromBin", &osg::SortFirstWindowBase::copyFromBin)
        .def("create", &osg::SortFirstWindowBase::create)
        .def("createEmpty", &osg::SortFirstWindowBase::createEmpty)
        .def("shallowCopy", &osg::SortFirstWindowBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("UseFaceDistributionFieldId") = (int)osg::SortFirstWindowBase::UseFaceDistributionFieldId;
    scope().attr("CompressionFieldId") = (int)osg::SortFirstWindowBase::CompressionFieldId;
    scope().attr("NextFieldId") = (int)osg::SortFirstWindowBase::NextFieldId;
    scope().attr("RegionFieldId") = (int)osg::SortFirstWindowBase::RegionFieldId;
    scope().attr("ComposeFieldId") = (int)osg::SortFirstWindowBase::ComposeFieldId;
    scope().attr("SubtileSizeFieldId") = (int)osg::SortFirstWindowBase::SubtileSizeFieldId;

    delete osg_SortFirstWindowBase_scope;

    class_< osg::SortFirstWindow, bases< osg::SortFirstWindowBase > , boost::noncopyable, osg::SortFirstWindowRefPtr >("SortFirstWindow", no_init)
        .def("changed", &osg::SortFirstWindow::changed)
        .def("dump", &osg::SortFirstWindow::dump, osg_SortFirstWindow_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::SortFirstWindowPtr>();
    implicitly_convertible<osg::SortFirstWindowRefPtr, osg::SortFirstWindowPtr>();
    implicitly_convertible<osg::SortFirstWindowPtr, osg::ClusterWindowPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::SortFirstWindowPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::SortFirstWindowPtr>);
}

